package com.softeem.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: springcloud
 * @author: zcp_will
 * @create: 2020-09-17 10:25
 * @description
 **/

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.softeem.springcloud.service"}) //开启feign的自动配置，指定需要扫描的包
public class DeptConsumer_feign {
    public static void main(String[] args) {
        SpringApplication.run(DeptConsumer_feign.class,args);
    }
}
